package com.xyc.student.service;

import com.xyc.student.controller.dto.UserDto;
import com.xyc.student.controller.dto.UserPasswordDto;
import com.xyc.student.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyc
 * @since 2022-02-23
 */
public interface IUserService extends IService<User> {

    UserDto login(UserDto userDto);

    User register(UserDto userDto);

    Integer updatePassword(UserPasswordDto dto);

    Integer getUserCount();

    Integer getFileCount();
}
